# admin.py
from fastapi import APIRouter

router = APIRouter(
    prefix="/admin",  # 路由前缀
    tags=["管理员"],  # 用于在 Swagger UI 中显示的标签
    responses={404: {"description": "Not found"}},  # 404 错误响应
)


@router.get("/")
async def read_admin():
    return {"message": "Hello, Admin!"}
